package com.wealth.system.repository;

import java.util.List;

import iaas.repository.BaseRepository;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import com.wealth.system.entity.User;

/**
 * 
 * @author chan
 */

@Repository
public interface UserDao extends UserCustomerDao,BaseRepository<User, Long>, JpaSpecificationExecutor<User> {
	
	User findByUsername(String username);

	List<User> getUserByCorpIdAndStatus(Long corpid, int value);

}


